﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace Micro.Core.ApiConsumer
{
    /// <summary>
    /// http请求实体类
    /// </summary>
    public class HttpRequest
    {
        /// <summary>
        /// 请求具体地址
        /// </summary>
        public Uri Url { get; set; }

        /// <summary>
        /// http请求方式
        /// </summary>
        public string Method { get; set; }

        /// <summary>
        /// Post请求时的数据体
        /// </summary>
        public object Data { get; set; }
    }
}
